package com.kakarote.admin.common;

import com.kakarote.common.log.enums.ApplyEnum;
import com.kakarote.common.log.enums.OperateObjectEnum;
import io.swagger.annotations.ApiModelProperty;

/**
 * 系统配置操作日志枚举
 */

public enum AdminConfigLogEnum {


    LEADS_POOL_REASON(ApplyEnum.CUSTOMER_MANAGEMENT, OperateObjectEnum.CUSTOMER_BUSINESS_PARAM, "线索放入线索池理由设置"),
    CUSTOMER_POOL_REASON(ApplyEnum.CUSTOMER_MANAGEMENT, OperateObjectEnum.CUSTOMER_BUSINESS_PARAM, "客户放入公海理由设置"),
    LOG_WELCOME_SPEECH(ApplyEnum.OFFICE_MANAGEMENT, OperateObjectEnum.OFFICE_BUSINESS_PARAM, "日志欢迎语"),
    SCRM_SWITCH(ApplyEnum.CUSTOMER_MANAGEMENT, OperateObjectEnum.CUSTOMER_BUSINESS_PARAM, "同步企业微信好友"),
    CP_TODAY_NEWS(ApplyEnum.CUSTOMER_MANAGEMENT, OperateObjectEnum.CUSTOMER_BUSINESS_PARAM, "开启企业微信消息推送"),
    ;

    AdminConfigLogEnum(ApplyEnum operateLogApply, OperateObjectEnum operateLogModule, String description) {
        this.operateLogApply = operateLogApply;
        this.operateLogModule = operateLogModule;
        this.description = description;
    }

    @ApiModelProperty(value = "应用")
    private final ApplyEnum operateLogApply;

    @ApiModelProperty(value = "模块")
    private final OperateObjectEnum operateLogModule;

    @ApiModelProperty(value = "描述")
    private String description;

    public ApplyEnum getOperateLogApply() {
        return operateLogApply;
    }

    public OperateObjectEnum getOperateLogModule() {
        return operateLogModule;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
